﻿using System;
using System.Collections.Generic;

namespace Outlook.Utility.Services
{
    public interface ISynchronisationProvider<TType, TKey>
    {
        IEnumerable<TType> GetModifiedEntries(DateTime? lastSync);
        IEnumerable<TKey> GetDeletedEntries(DateTime? lastSync);
        void SaveEntries(IEnumerable<TType> entries);
        void DeleteEntries(IEnumerable<TKey> keys);
    }
}
